package net.oschina.app.protocol.general;

import net.oschina.app.bean2.GeneralBlogDetailBean;
import net.oschina.app.protocol.AccessProtocol;
import net.oschina.app.protocol.AccessService;

import retrofit2.Call;

/**
 * Created by Shinelon on 2017/1/18.
 */

public class BlogDetailProtocol extends AccessProtocol {
    @Override
    protected void callNet(AccessService accessService) {
        Call<GeneralBlogDetailBean> datas = accessService.getBlogDetailDatas(mPath);
        datas.enqueue(callback);
    }
}
